﻿<phone:PhoneApplicationPage 
    x:Class="YouTube.Views.VideoPlay"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ViewModels="clr-namespace:YouTube.Model"
   
    xmlns:interact="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    xmlns:behaviors="clr-namespace:Behaviors;assembly=Microsoft.WPAS.Common.Behaviors"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="Landscape"
    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="800" >

    <phone:PhoneApplicationPage.Resources>
        <ViewModels:VideoViewModel x:Key="ViewModel" d:IsDataSource="True"/>
        <ViewModels:PlayVideoViewModel x:Key="PlayVideoViewModel" d:IsDataSource="True"/>
    </phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <!--ContentPanel - place additional content here-->
        <Grid x:Name="grid" Grid.Row="1" Background="{StaticResource Youtube_ForegroundBrush}">
           
                <MediaElement Height="400"
                    x:Name="MediaPlayer"
                    Volume="1" HorizontalAlignment="Center" VerticalAlignment="Center" />

                
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>
